* {
  list-style: none;
  outline: none;
  box-sizing: border-box;
  // user-select: none;
}

&:not(.raw-html) {
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 0;
    padding: 0;
  }
}
.raw-html {
  * {
    text-wrap: unset !important;
  }
  p {
    line-height: 1.8;
    &:invalid {
      margin: 0;
    }
  }
  :not(.ql-editor) {
    width: auto !important;
    ul {
      padding-left: 40px;
      li {
        list-style: disc;
      }
    }
  }
  &:has(.ql-editor) {
    .ql-editor {
      overflow-y: unset;
      padding: 0;
      word-break: keep-all !important;
      height: unset !important;
    }
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    li {
      list-style: none;
    }
    &.large {
      max-height: 800px;
    }
    @media screen and (max-width: 768px) {
      max-height: 100vh;
      .ql-editor {
        word-break: break-all !important;
      }
    }
  }
}

html,
body {
  margin: 0;
  padding: 0;
  text-transform: capitalize;
  color: #36434d;
  background-color: #f6f8fa;
  font-family: "微软雅黑";
}
table {
  border-spacing: 0;
  border: 0;
}
a {
  margin: 0;
  padding: 0;
}

input {
  outline: none;
  border: 1px solid transparent;
}

a {
  color: #000;
  display: inline-block;
}

html {
  overflow-y: auto;
}
img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: bottom;
}
ul {
  padding-left: 0;
  margin: 0;
}

svg {
  user-select: none;
}
.pad-base {
  padding-left: 65px;
  padding-right: 65px;
}
.no-touch {
  touch-action: none;
}

.h-100 {
  height: 100%;
}
.w-100 {
  width: 100%;
}

.yindu-scrollbar::-webkit-scrollbar,
.raw-html::-webkit-scrollbar {
  width: var(--scroll-width);
  height: var(--scroll-width);
}
.yindu-scrollbar::-webkit-scrollbar-track,
.raw-html::-webkit-scrollbar-track {
  background: #fff;
  border-radius: var(--scroll-width);
}
.yindu-scrollbar::-webkit-scrollbar-thumb,
.raw-html::-webkit-scrollbar-thumb {
  background: #8888;
  border-radius: var(--scroll-width);
}
.yindu-scrollbar::-webkit-scrollbar-thumb:hover,
.raw-html::-webkit-scrollbar-thumb:hover {
  background: #5555;
}

@media screen and (max-width: 768px) {
  :root {
    --scroll-width: 20px;
  }
}
